package com.example.demo.mapper;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    public int register(User user);

    public User getUserByName(String username);
    User login(User user);
    int userWin(Integer userId);
    int userLose(Integer userId);
}
